]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Make meson warnings fatal
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Jul 2023 22:51:19 +0000 (00:51 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 23 Jul 2023 13:36:20 +0000 (15:36 +0200)
The Config variable that was removed in the previous commit was
actually wrong (PACKAGE_VERSION vs. GETTEXT_VERSION), so the
substituation didn't work.

Meson warns about this, let's make these warnings fatal to catch
similar issues during CI.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2844>

.gitlab-ci.yml

index b1e7b25c019a945717374b77f09c93cddfd41066..275511e191162f7f1fe141fe0bc0abb51b8d2bcb 100644 (file)
@@ -194,7 +194,7 @@ build:
     - meson mutter mutter/build --prefix=/usr
     - meson install -C mutter/build
   script:
-    - meson . build -Dbuildtype=debugoptimized -Dman=false --werror
+    - meson setup . build -Dbuildtype=debugoptimized -Dman=false --werror --fatal-meson-warnings
     - meson compile -C build
     - meson install -C build
   artifacts: